
import { Button, Flex } from 'antd';

export default function ButtonGroup(props:{disabled:boolean,setIsShow:(show:boolean)=>void}) {
  return (
   <Flex gap="small" style={{margin:10}} wrap>
    <Button type="primary" onClick={()=>props.setIsShow(true)}>添加新用户</Button>
    <Button type="primary" disabled={props.disabled} danger>删除选中用户</Button>
    <Button variant="solid" disabled={props.disabled} color='green'>导出选中用户</Button>
    <Button variant="solid" color='green'>导入excel数据到后台</Button>
  </Flex>
  )
}
